#pragma once

#include <QWidget>
#include "ui_MinimapContainterWidget.h"

class GraphicsScene;

QT_BEGIN_NAMESPACE
namespace Ui { class MinimapContainterWidgetClass; };
QT_END_NAMESPACE

class MinimapContainterWidget : public QWidget
{
	Q_OBJECT

public:
	MinimapContainterWidget(QWidget* parent = nullptr);
	~MinimapContainterWidget();
	void setMinimapVisable(bool visable);
	void setScene(GraphicsScene* scene);
	void onViewScaleChanged();
protected:
	virtual void paintEvent(QPaintEvent* event) override;
private:
	Ui::MinimapContainterWidgetClass* ui;
};
